package com.menggudf.service;

import java.util.List;
import java.util.Map;

import com.menggudf.model.CaseHistoryImgModel;
import com.menggudf.model.MyCaseHistoryModel;
import com.menggudf.model.ResultModel;

public interface MyCaseHistoryService {

    ResultModel createMyCaseHistory(
            String userCode,
            String roleCode,
            String illNames,
            String symptoms,
            String pictures,
            String examinations,
            String scheme,
            String opinion,
            String medication);

    Map<String, Object> getMyCaseHistorys(String userCode, String roleCode, int pageSize, int offset);

    MyCaseHistoryModel getMyCaseHistory(int id);

    ResultModel createCaseHistoryImg(String name, String userCode, String roleCode, String imgUrl);

    ResultModel addCaseHistoryImg(String code, String imgUrl);

    ResultModel delCaseHistoryImg(int id);

    Map<String, Object> getMyCaseHistoryImgs(
            String userCode,
            String roleCode,
            int pageSize,
            int offset);

    List<CaseHistoryImgModel> getMyCaseHistoryImg(String code);

    ResultModel delMyCaseHistory(int id);

    ResultModel delAllCaseHistoryImgByCode(String code);

}
